<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>用户管理</title>
		<meta http-equiv="X-UA-Compatible" content='IE=edge' />
		<link rel="stylesheet" type="text/css" href="/fw/css/bootStrap/bootstrap.min.css">
    	<link rel="stylesheet" type="text/css" href="/fw/css/common.css">
		<link rel="stylesheet" type="text/css" href="css/userList.css">
		<link rel="stylesheet" href="/fw/js/myjs/bootstrap-grid/css/bootstrap-grid.css">
		<script type="text/javascript" src="/fw/js/jquery/jquery.js"></script>
		<script type="text/javascript" src="/fw/js/bootStrap/bootstrap.min.js"></script>
		<script src='/fw/js/myjs/bootstrap-grid/bootstrap-grid.js'></script>
		<script type="text/javascript" src="js/userList.js"></script>
		<script type="text/javascript" src="/fw/js/myjs/bootstrap-savehandle.js"></script>
	</head>

	<body>
		<div id="userList">
			<div><%@ include file="../manage/heading.jsp"%></div>
			<s:action name="groupmenu" executeResult="true" namespace="/groupmenu"></s:action>
			<div class="content col-md-10">
				<!-- 数据表格 -->
				<div class="header">
			 		<ol class="breadcrumb">
					  <li class="glyphicon glyphicon-menu-right"><a href="#"><span aria-hidden="true" style="font-size: 20px;">&raquo;</span></a></li>
					  <li class="active">用户列表</li>
					</ol>
				</div>	
				<div id='grid'></div>
				<nav id='navbar' class="navbar navbar-default" role="navigation">
				<div class="container-fluid">
					<div class="navbar-header">
						<button type="button" class="navbar-toggle collapsed"
							data-toggle="collapse"
							data-target="#bs-example-navbar-collapse-1"></button>
						<a class="navbar-brand" href="javascript:add()">添加</a>
						<a class="navbar-brand" href="javascript:del()">删除</a>
						<a class="navbar-brand" href="javascript:useUnableByIds()">禁用</a>
						<a class="navbar-brand" href="javascript:useableByIds()">激活</a>
						<a class="navbar-brand" href="javascript:auth()">用户组管理</a>
					</div>
					<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				    	<div class="navbar-form navbar-left" role="search">
					        <div class="form-group">
					          <input id="userName" type="text" class="form-control" placeholder="用户名">
					        </div>
					        <button onclick="search()" type="button" class="btn btn-default">查询</button>
					        <div class="form-group">
								<select id="isEnabled" class='form-control' onchange="SerachByEnabled()">
									<option value=''>
										
									</option>
									<option value='1'>
										未被禁用
									</option>
									<option value="0">
										已被禁用
									</option>
								</select>
							</div>
				        </div>
				    </div>
			    </div>
			    <div id='alertdiv'></div>
				</nav>
			</div>
			<div class="modal userAdd">
			  	<div class="modal-dialog">
				    <div class="modal-content">
				      	<div class="modal-header">
					        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
					        <h4 class="modal-title">添加用户</h4>
				     	</div>
				      	<div class="modal-body">
				        	<div class="form-group">
					          	<input id="userName_add" type="text" class="form-control" placeholder="请输入用户名">
					        </div>
				      	</div>
				      	<div class="modal-footer">
					        <button type="button" class="btn btn-default" onclick="add_cancel()">取消</button>
					        <button type="button" class="btn btn-primary" onclick="add_ok()">添加</button>
				      	</div>
				    </div>
			 	</div>
			</div>
		</div>
	</body>
</html>
